// -* - coding: utf - 8 -* -
// Copyright(c) 2023 Intel Corporation
//
// Licensed under the Apache License, Version 2.0(the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//   http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
@import './../../variables.scss';

.Diagnosis {

  .property-table {
    border-collapse: collapse;
    width: 100%;
  }

  .table-title {
    font-family: IntelClearBd;
    text-align: center;
  }

  .table-key {
    text-align: right;
    padding: 5px;
  }

  .table-value {
    text-align: left;
    background-color: $light-gray;
    padding: 5px;
    border: 2px white solid;
  }

  .data-panel {
    background-color: white;
    padding: 10px;
    border-radius: 0.5rem;
    margin-bottom: 6px;
  }

  .data-panel-top {
    background-color: white;
    padding: 10px;
    border-radius: 0.5rem;
    margin-top: 6px;
  }

  .flexbox {
    display: flex;
    max-height: 99vh;
    background-color: $light-gray;
  }

  .flexbox-inside {
    flex-shrink: 0;
    padding: 3px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
  }

  .workloads-flex {
    display: flex;
    flex-direction: column;
    overflow: auto;
  }

  .overflow-table {
    max-height: calc(90vh - 96px);
    background-color: white;
    border-radius: 0.5rem;
    overflow: auto;
  }

  .flex-item {
    padding: 3px;
    width: 98%;
    max-width: calc(100vw - 370px);
  }

  .flex-bigger {
    padding: 3px;
    width: 98%;
  }

  .accuracy-table {
    width: 98%;
  }

  .accuracy-number {
    font-size: 200%;
    color: $energy-blue;
    text-align: center;
    padding-left: 20px;
  }

  .accuracy-title {
    font-family: IntelOneRg;
    font-size: 120%;
  }

  .accuracy-subtitle {
    font-size: 80%;
    color: $dark-gray;
    text-align: center;
    padding-left: 20px;
  }

  .clickable {
    cursor: pointer;
  }

  .nowrap {
    white-space: nowrap;
  }

  .alert {
    position: fixed;
    top: 40vh;
    left: 25vw;
    margin: auto;
    width: 50vw;
    z-index: 100;
  }

  .spinner-container {
    width: 50px;
    margin: auto;
    padding: 20px;
  }

  .spinner {
    color: #5B69FF;
  }
}